package com.ruoyi.recipes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 食谱场景标签对象 scene_tags
 * 
 * @author ruoyi
 * @date 2025-08-15
 */
public class SceneTags extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 场景名称（如“轻食餐”） */
    @Excel(name = "场景名称", readConverterExp = "如=“轻食餐”")
    private String name;

    /** 展示顺序（1-最前） */
    @Excel(name = "展示顺序", readConverterExp = "1=-最前")
    private Integer sort;

    /** 封面图 */
    @Excel(name = "封面图")
    private String coverImg;

    /** 状态（0-启用 1-禁用） */
    @Excel(name = "状态", readConverterExp = "0=-启用,1=-禁用")
    private Integer status;
    private List<Recipes> recipes;
    public List<Recipes> getRecipes() {
        return recipes;
    }

    public void setRecipes(List<Recipes> recipes) {
        this.recipes = recipes;
    }
    /** 是否删除：0正常 1删除 */
    private Integer del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    public void setCoverImg(String coverImg) 
    {
        this.coverImg = coverImg;
    }

    public String getCoverImg() 
    {
        return coverImg;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("sort", getSort())
            .append("coverImg", getCoverImg())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("del", getDel())
            .toString();
    }
}
